import { getToken } from "@/utils/auth";

export default {
  requestResolve(config) {
    const token = getToken();
    if (token && !config.isShardUpload)
      config.headers["Authorization"] = `Bearer ${token}`;
    return config;
  },
};
